<nav class="breadcrumb" id="pathContainer">
    <i class="Hui-iconfont Hui-iconfont-weizhi"></i>
    <span>您的位置：</span>
    <span>系统配置</span>
    <span class="c-999 en">&gt;</span>
    <span class="c-primary">村管理</span>
</nav>
<div class="Hui-article" id="MainList">
    <div>
        <!-- search module start -->
        <div class="row cl  searchBox">
            <form class="form form-horizontal responsive" id="searchForm" novalidate="novalidate">
                <div class="clearfix">
                    <div class="conditionBox col-sm-2">
                        <label for="">村名:</label>
                        <input type="text" class="input-text radius" placeholder="请输入村名" name="area" id="area"/>
                    </div>
                    <div class="conditionBox col-sm-2">
                        <label for="">行政代码:</label>
                        <input type="text" class="input-text radius" placeholder="请输入行政代码" name="areaCode" id="areaCode" />
                    </div>
                    <div class="conditionBox col-sm-2">
                        <label for="">所在县:</label>
                        <div class="formControls">
                            <select class="select-box select radius" size="1" id="cty" value="">
                                <!-- <option value="">请选择</option> -->
                                <option value="魏县" readOnly>魏县</option>
                            </select>
                           <!--  <input type="hidden" value="魏县" name="cty" id="h-cty"> -->
                        </div>
                    </div>
                    <div class="conditionBox col-sm-2">
                        <label for="">所在乡:</label>
                        <div class="formControls">
                            <select class="select-box select radius" size="1" id="country">
                                <option value="">请选择</option>
                            </select>
                            <input type="hidden"  name="fatherId" id="fatherId">
                        </div>
                    </div>
                </div>
                <div class="clearfix search-btns  margin-padding-none btn-div">
                    <input type="button" class="btn btn-primary queryBtn btn btn-secondary" value="查 询"/>
                    <input class="btn btn-secondary add_btn save_from" type="button" value="新增">
                </div>
            </form>
        </div>
        <!-- search module end -->
    </div>
    <div class="table-scroll">
        <table class="table table-border table-bordered">
            <thead class="text-c row cl table-bgcolor-gary" id="thead">
            <tr>
                <th>村</th>
                <th>行政代码</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody class="text-c row cl" id="tbody"></tbody>
        </table>
    </div>
    <div class="page pt-10 clearfix">
        <div class="f-l" style="white-space: nowrap;" id="pageContainer"></div>
        <div class="f-r" id="pageBtn">
            <input type="button" value="首页" class="page-btn" id="firstPage">
            <input type="button" value="上一页" class="page-btn" id="prevPage">
            <input type="button" value="下一页" class="page-btn" id="nextPage">
            <input type="button" value="尾页" class="page-btn" id="lastPage">
        </div>
    </div>
</div>
<script id="list" type="text/x-handlebars-template">
    \{{#each resultList}}
    <tr>
        <td>\{{area}}</td>
        <td>\{{areaCode}}</td>
        <td width="250" id="\{{id}}" attr-fatherId="\{{fatherId}}">
            <button type="button" class="btn btn-primary size-S detail_btn save_from">查看</button>
            <button type="button" class="btn btn-danger size-S del_btn">删除</button>
            <button type="button" class="btn btn-primary size-S edit_btn save_from">编辑</button>
            <button type="button" class="btn btn-primary size-S Street_btn save_from">街景设置</button>
        </td>
    </tr>
    \{{/each}}
</script>
<script id="page" type="text/x-handlebars-template">
    <span>共有\{{rowCount}}条记录，</span>
    <label for="ipt2">每页行数：</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageSize">
            <option value="10" selected>10</option>
            <option value="20">20</option>
            <option value="50">50</option>
            <option value="100">100</option>
            <option value="200">200</option>
            <option value="300">300</option>
        </select>
    </span>
    <label for="ipt2">当前第</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageCount">
            \{{#each pageCount}}
            <option value="\{{pageCount}}">\{{pageCount}}</option>
            \{{/each}}
        </select>
    </span>
    <span>页</span>
</script>
<script>
    new villageMng();
</script>